package com.xmy.solution.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xmy.common.annotation.Excel;
import com.xmy.common.core.domain.BaseEntity;

/**
 * 用户方案收藏关系对象 xmy_user_solution_favorites
 *
 * @author ruoyi
 * @date 2025-02-13
 */
@Data
public class UserSolutionFavorites extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 方案ID */
    private Long solutionId;

    /** 收藏时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收藏时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date favoriteTime;
}
